Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Updating Locust to v0.9.0 and using official Dockerfile #7970

Closed
wants to merge 13 commits into from

Conversation

sekka1
Copy link
Collaborator

@sekka1 sekka1 commented Sep 25, 2018

What this PR does / why we need it:

This updates Locust to the latest v0.9.0. It also uses the Dockerfile in the Locust Github repo as the standard image.

Which issue this PR fixes

none

Special notes for your reviewer:

Also adds in some features that we have found useful in our testing

  • Options for nodeSelector/taints - to allow us to place the master/worker pods where we want them to go
  • Locust log level flags
  • Options to load in the Locust scripts locally and not have the chart handle this. This allowed us to use the chart with no modifications and didnt have to download the chart repository.
  • Option to create an ingress

Currently it is using the Dockerfile from Locust master branch. They do not have an official Docker Hub repo yet. Trying to get clarification if they are going to do this or not: locustio/locust#850 (comment) .

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md

@so0k

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sekka1
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: unguiculus

If they are not already assigned, you can assign the PR to them by writing /assign @unguiculus in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot
Copy link
Contributor

Hi @sekka1. Thanks for your PR.

I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Sep 25, 2018
@sekka1
Copy link
Collaborator Author

sekka1 commented Sep 25, 2018

/assign @unguiculus

```

| Parameter | Description | Default |
| ---------------------------- | ---------------------------------- | ----------------------------------------------------- |
| `Name` | Locust master name | `locust` |
| 'createTestScripts' | Use Helm to create the test scripts | 'true' |
| `image.repository` | Locust container image name | `quay.io/honestbee/locust` |
| `image.tag` | Locust Container image tag | `0.7.5` |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the image tag here as well

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. This will change once Locust.io setups their own docker hub repo. I can update it then. I am following up with them on this here: locustio/locust#850 (comment)

@cpanato
Copy link
Member

cpanato commented Sep 27, 2018

@sekka1 please sign the DCO

Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
Signed-off-by: garland <garlandk@gmail.com>
@ey-bot ey-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Sep 27, 2018
nginx.ingress.kubernetes.io/whitelist-source-range: "{{ .Values.ingress.annotations.whitelistSourceRange }}"
{{ end }}
spec:
tls:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happen if i dont want tls?
need to make it configurable

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Updated to make this configurable.

@cpanato
Copy link
Member

cpanato commented Sep 28, 2018

in general, your PR is to update the image and you are adding other things. I would say to make two PRs

@ey-bot ey-bot removed the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Sep 28, 2018
@sekka1
Copy link
Collaborator Author

sekka1 commented Sep 30, 2018

@cpanato Ok, closing this one in favor or this new PR with only the Locust v0.9.0 update: #8066

@stale
Copy link

stale bot commented Nov 24, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 24, 2018
@sekka1 sekka1 closed this Dec 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants